package com.zescs.papillon.web.user.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Scope("prototype")
public class UserController {

    @Value("${model.name}")
    private String modelName;

    @GetMapping("/getname")
    public String getModelName(){
        return modelName;
    }
}
